//
//  KREmotion.m
//  cookBook
//
//  Created by kuroken on 16/1/20.
//  Copyright © 2016年 kuroken. All rights reserved.
//

#import "KREmotion.h"

@interface KREmotion () <NSCoding>

@end

@implementation KREmotion

- (instancetype)initWithCoder:(NSCoder *)decoder
{
    if (self = [super init]) {
        self.chs = [decoder decodeObjectForKey:@"chs"];
        self.png = [decoder decodeObjectForKey:@"png"];
    }
    return self;
}

- (void)encodeWithCoder:(NSCoder *)encoder
{
    [encoder encodeObject:self.chs forKey:@"chs"];
    [encoder encodeObject:self.png forKey:@"png"];
}

@end
